ObjectDB Database Search

1-50 of 200 results

Database Management Settings

The configuration element specifies back-end (database engine) settings for the server ... specifies the database file and page size settings : The initial attribute specifies the initial size ... the database. The element specifies the recovery file settings : The enabled attribute ( "true" or

Setting and Tuning of JPA Queries

The Query and TypedQuery interfaces define various methods for setting and tuning query execution ... that EntityManager , or at the individual query level, which overrides the EntityManager setting ... . JPA adds support for pessimistic locking . The setLockMode method sets a lock mode to apply

Privacy Policy

is necessary for the purposes set out in this Privacy Policy. We will retain and use Your Personal Data ... You about Your privacy rights and how the law protects You. We use Your Personal data to provide and improve ... that can access the Service such as a computer, a cellphone or a digital tablet. Personal Data

Step 3: Create an ObjectDB Data Source

of the ObjectDB data source. The next step is using this data source to create a data set for the BIRT report. ... Connections to the database are represented in BIRT as data sources. To create an ObjectDB data source: Open the [New Data Source] dialog box by right clicking the Data Sources node in the [ Data

JPA Runtime Tuning & Configuration

, @Table ) or set globally at the persistence unit level during bootstrapping . This section describes dynamic options that control runtime behavior and allow you to adjust settings per session, query, or operation. Configuration scope hierarchy For non-static configuration (i.e., settings not expressed

JPA Entity Fields

-persistent) fields and has no data to store in the database. Persistent fields Every non-static non ... , such as Hibernate, or for changing default field settings . For example: @Entity public class ... an exception if you try to store an entity with a null value in that field. Cascade and fetch settings

JPA Persistable Types

Persistable types are data types that can be used for storing data in the database. ObjectDB ... superclasses, and embeddable classes. Simple Java data types: Primitive types, wrapper classes, `String ... multiple persistent fields causes data duplication in the database. Entity classes An entity class

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date ... . Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM are using the 2015g time zone data . While we cannot see a problem with date only fields (more testing

can not use spring-data-jpa repository with NamedQuery

in spring- data -jpa named queries are used to implement repository interface methods, see http://static.springsource.org/spring- data / data -jpa/docs/current/reference/html/#jpa.query-methods.named ... of f.bars") public class Foo implements Persistable {     private Set bars

Glassfish 4 JTA Data Source Support

supported as well as conventional data source setting . If you create a basic data source implementation ... I would like to have the persistence.xml of my server application (REST service) use a JTA data source, so that I can configure the data source from the app server (Glassfish 4 in my case).  

Import data from MySQL

Hi, I tried the objectdb in my research, find it very easy to handle without setting up xml files ... mysql data into objectdb? gzdillon Lai Yang Currently to import data from other databases ... data from MySQL using JPA as entity objects, detach the retrieved entity objects and then persist

Retrieve data of all entity classes in a single query

I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel metamodel = em.getMetamodel(); Set allManagedTypes = metamodel.getManagedTypes(); for(ManagedType o

Wrong data stored in date only fileds

wrong data in the fields annotated with Temporal.DATE. The attached DB shows the problem and can easily be reproduced. Here are the values used to set the fields before adding the objects (in ... 1970   In the DB you will notice that the startDate field is set to "Sat Oct 24 00:00:00 CEST

data protection method in ObjectDB Embedded Mode

I am new in ObjectDB and i need to understand How is data protection in ObjectDB Embedded Mode without using  username or password thanks choymns choymns The way to keep an ObjectDB database ... using a CPU that supports the AES instruction set . support Support

Retrieving JPA Entities

method is useful when you need a reference to an entity but not its data , for example, to set ... the persistence context, JPA constructs a new object and populates it with data from the database or ... retrieves the object's data from the database, constructs a new managed entity, and returns

Pessimistic Lock Timeouts setting

.objectdb.o._LockTimeoutException: Write lock cannot be granted for a.b.c.d.EE#150. irrespective if I set ... setting a shared lock in the EJB could get around this, but this would be global and impact all threads ... on stale updates. Willks William Support of pessimistic lock timeout  setting ( javax.persistence

jakarta.persistence.metamodel.PluralAttribute.CollectionType.SET

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.PluralAttribute.CollectionType SET Set -valued attribute Since: Jakarta Persistence (JPA) 1.0

Step 6: Set the Spring XML

.DispatcherServlet 2 spring *.html 30 index.jsp The settings above routes web requests with  .html suffix to the Spring dispatcher servlet. Additional spring configuration is set in another XML file ... content: The settings above guides Spring to support annotations (for components, controllers

Step 6: Set the Spring XML

: spring org.springframework.web.servlet.DispatcherServlet 2 spring *.html 30 index.jsp The settings ... configuration is set in another XML file (whose name is derived from the name of the Spring dispatcher ... with the following new content: The settings above guides Spring to support annotations (for components

Server Configuration

The configuration element specifies settings for running an ObjectDB Server . The server ... directory . The data path of an ObjectDB server is similar to the document root directory of a web server. Every database file in the data directory and its subdirectories can be accessed by the server

SELECT clause (JPQL / Criteria API)

in criteria queries The criteria query API provides several ways to set the SELECT clause. Single selection Setting a single-expression SELECT clause is straightforward. For example, the following ... . get ("currency")). distinct (true); The select method takes one argument of type Selection and sets

Database Replication and Clustering

to the slave databases, keeping them synchronized. Setting a master satabase A master ObjectDB database ... cannot. You must enable recording , but no other preparations or settings are required. Setting slave databases Setting up slave databases is straightforward. You only need to run an ObjectDB database server

Eclipse Public License - v 1.0

that although each Contributor grants the licenses to its Contributions set forth herein, no assurances ... the copyright license set forth in this Agreement. 3. REQUIREMENTS A Contributor may choose ... Contributor must pay those damages. 5. NO WARRANTY EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT

JPA Attributes Annotations

) are managed. These annotations control data persistence behavior, including fetching strategies, relationship types, and data storage formats. General field mapping Configure standard state mapping behavior using the following annotations: Sets a field or property of a basic attribute (e.g., primitives

JPA Criteria Queries

: UPDATE and DELETE Queries CriteriaQuery is designed exclusively for data retrieval. Bulk data ... , set new attribute values, and restrict the scope with a WHERE clause. Use this interface to define

JPA Core Types

-level cache. Use it to check if specific entities are cached or to evict data to ensure ... these enums: Specifies whether the application uses JTA or resource-local transactions. This setting ... utilizes Jakarta Validation. Use this to explicitly enable, disable, or set validation to auto

Database Transaction Replayer

of recording is data durability, you can keep the recording directory on a different physical device by setting the path attribute in the configuration . The recording directory contains two types

JPA Query Structure (JPQL / Criteria)

...]] [ORDER BY ...] The SELECT and FROM clauses are required in every query that retrieves data ; update ... FROM ... [WHERE ...] UPDATE ... SET ... [WHERE ...] With a few exceptions, JPQL is case-insensitive

Running JPA Queries

other cases, the expectation of a single result might be incorrect, depending on the data in the database ... : int count = em. createQuery ("UPDATE Country SET area = 0"). executeUpdate

What is the Java Data Objects (JDO)?

The Java Data Objects (JDO) is another standard for accessing persistent data in databases, using plain old Java objects (POJO) to represent the object model. Unlike Java Persistence API (JPA), which is designated to be used with relational databases, JDO is designated to be used

Query Parameters in JPA

is a parameter that serves as a placeholder for a value. Before executing the query, you must set ... parameter can appear multiple times in the query string. A query can be executed only after you set values for all its parameters. The order in which you set the parameters does not matter. Ordinal

Deleting JPA Entities

that references an Address entity. Because of the CascadeType.REMOVE setting , when an Employee ... =true , specifying CascadeType.REMOVE is redundant. The difference between the two settings is how they handle a disconnected relationship, for example, when you set the address field to null or

What is the Java Persistence API (JPA)?

) is that in JPA data is represented by classes and objects rather than by tables and records as in JDBC. Using plain old Java objects (POJO) to represent persistent data can significantly simplify ... . These implementations are Object Relational Mapping (ORM) tools. The mapping bridges between the data

JPA Connections and Transactions

of the database file on the server, relative to the server data root path. Connection URL Parameters ... database. However, to avoid accidental data loss, the drop parameter is ignored unless the database ... the database (such as storing, updating, or deleting data ) must be performed within an active transaction

Best practise loading big data

is the main data provider within our solution. In the past we often discovered performance problems ... data access on a large 2 dimansional table. Internally we used a list entities which hold a list ... . Creating and traversing. For the traversing we access the data block by block - in each block step by

Step 6: Design a BIRT Report Table

) layout. Set the column number to 2 , number of details to 1 , select the data set (e.g. Points by X ) in the third field and click OK . Fill the table with data by dragging the x and y columns from the data set in the [ Data Explorer] window (under the data set node) and dropping them on the second

JPA Class Enhancer

(for example, the get and set methods). If you follow this practice, only user-defined persistable ... argument. Setting a Java agent enhancer in an IDE In Eclipse, JVM arguments can be set globally in ... in: Run Configurations… Arguments VM arguments In NetBeans, JVM arguments can be set in the project

WHERE clause (JPQL / Criteria API)

and an official language from a specified set of languages: SELECT c, l FROM Country c JOIN c.languages l ... the WHERE clause. WHERE in criteria queries The CriteriaQuery interface provides two where methods for setting ... it as the WHERE clause predicate, overriding any previously set predicate. For example, the following

SQL Queries Annotations

Jakarta Persistence (JPA) provides a set of annotations to define and map native SQL queries ... dialect. Groups multiple @NamedNativeQuery definitions on a single class. Result set mapping Map ... how the result set of a native query maps to entities, scalar values, or constructor results. Groups

ObjectDB - JPA Object Database for Java

when the object data  model is complex. See JPA benchmark results...   Reduce development time. Improve ... Persistence API (JPA) Java Data Objects (JDO) Using a standard Java API (JPA / JDO) provides many benefits

Chapter 2 - JPA Entity Classes

An entity class is a user-defined class whose instances can be stored in a database. To store data in an ObjectDB database using Jakarta Persistence (JPA), you define entity classes that represent your application's data object model. This chapter contains the following sections:

[ODB1] Chapter 8 - ObjectDB Server

more sub elements, indicating which paths under the server data directory (as set by the data element ... ), but you can override this setting using the –port command line option to specify another port, as ... . It always includes an root element with two sub elements, and . The sub element specifies general server settings

[ODB1] Chapter 9 - ObjectDB Explorer

a single database object. This type of viewer is useful for viewing the data of a simple object model ... and modify the content of a database. Section 9.5 explains how to define views and set ... this case you can refresh the cache and the viewer windows using the "File | Refresh Data " menu command. 9

Step 5: Design a BIRT Report Chart

. In the [Select Chart Type] tab select Tube as the chart type and click Next . In the [Select Data ... these fields for content assistant) and click Next . In the [Format Chart] tab you can set the chart title ... to see the chart with the real data : In the next step we will add a table view of the same data to the report.

[ODB1] Chapter 3 - Persistent Classes

;Persistent Classes Only classes that represent data in the database should be declared persistent ... and Hashtable , and the interfaces - Collection , Set , List and Map . java.math.BigInteger and java.math ... value. Similarly, a field whose type is one of the persistent collection interfaces ( Collection , Set

Step 1: Install BIRT and ObjectDB Driver

We start by installing the BIRT development environment and the ObjectDB data source driver. Installing BIRT Choose one of the following options to install the BIRT development environment: Download ... the ObjectDB Data Source Driver To install the ObjectDB data source driver for BIRT: Open the [Install

Spring MVC JPA Tutorial - IntelliJ Project

the Server: Select  File Settings Application Servers . Add Tomcat 6 Server if not set already (Tomcat ... +F10 ). If the browser fails to open check the settings at  File Settings Web Browsers .

Report Generation with BIRT and JPA

This tutorial demonstrates how to create reports based on data in an ObjectDB database using the popular open source Business Intelligence and Reporting Tools (BIRT). In order to keep things as ... , 12), ..., (20, 20) The data will be presented in the BIRT report using a chart and a table:

[ODB1] Chapter 6 - Persistent Objects

Persistence objects represent data in the database. 6.1  Making Objects Persistent In JDO applications, every object in memory is either a persistent object, i.e. represents some database ... more different PersistenceManager instances from modifying the same object at the same time. When using data

[ODB1] Chapter 2 - A Quick Tour

The data structure of this program is an ArrayList containing String instances. ObjectDB, as a pure object database, can simply store a memory data structure in the database as is. If the database is not